package com.sihuatech.coreagent.service;

import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sihuatech.coreagent.mapper.ProAddInfMapper;
import com.sihuatech.coreagent.model.ProAddInf;

@Service
public class ProAddInfService {
	@Autowired
	ProAddInfMapper proAddInfMapper;

	/**
	 * 根据id单个查询
	 * @param id
	 * @return
	 */
	public ProAddInf findByProvinceId(String id) {
		if (StringUtils.isNotBlank(id)) {
			return proAddInfMapper.selectById(id);
		}
		return null;
	}
	
	
}
